<template>
  <div>
    <h1>car</h1>
    <Banner :bannerList='bannerList'/>
  </div>
</template>

<script>
import Banner from '@/components/Banner.vue';
// 引入轮播图
export default {
  // 循环数据图片
  data(){
    return{
      bannerList:[
        "/images/6.jpg",
        "/images/7.jpg",
        "/images/8.jpg",
      ]
    }
  },

  components:{
    Banner,
}
}
</script>

<style>

</style>